/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.cakerun.model.entity;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableName;
import top.continew.admin.common.base.model.entity.BaseDO;

import java.io.Serial;
import java.time.*;

/**
 * 美团账号实体
 *
 * @author tangyu
 * @since 2025/07/02 23:41
 */
@Data
@TableName("brand_account")
public class BrandAccountDO extends BaseDO {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 地区
     */
    private String area;

    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 是否初始化
     */
    private Boolean init;

    /**
     * token
     */
    private String bsid;
    private Long deptId;
    private Long userId;

    private LocalDate orderShopTime;
    private LocalDate orderProjectTime;
    private LocalDate feedbackTime;
    private LocalDate feedbackInfoTime;
    private LocalDate storeMetricsTime;
    private LocalDate orderDetailTime;

    /**
     * 启用
     */
    private Boolean enable;

    /**
     * 删除标识
     */
    private Boolean delFlag;
}
